package org.example.seata.bs.api.entity.account;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 账户金额日志
 *
 * @author hzq
 * @date 2021/11/17 13:31
 */
@Data
@Accessors(chain = true)
@TableName("`account_balance_log`")
public class AccountBalanceLog extends Model<AccountBalanceLog> {

    @TableId(type = IdType.AUTO)
    private Integer accountBalanceLogId;
    /**
     * 用户id
     */
    private Integer accountId;
    /**
     * 金额
     */
    private BigDecimal logBalance;
    /**
     * 描述
     */
    private String description;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
